import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('../views/AboutView.vue')
  },
   {
    path: '/provids',
    name: 'provids',
    component: () => import('../views/Provids.vue')
  },
  {
    path: '/attrs',
    name: 'attrs',
    component: () => import('../views/Attrs.vue')
  },
  {
    path: '/',
    redirect:'/attrs'
  }
  
]

const router = new VueRouter({
  routes
})

export default router
